package cn.zebra.dev.mall.module.product.dto;

import cn.zebra.dev.ibatis.plus.utils.PageUtils;
import cn.zebra.dev.product.module.category.entity.CategoryEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

@Getter
@Setter
@ToString
public class ProductIndexDTO {

    @ApiModelProperty(value = "商品id")
    private Long id;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品图片")
    private String productImage;

    @ApiModelProperty(value = "售价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "商品已售数量")
    private Long sellNum;

}
